package com.itheima.dao;

import com.itheima.pojo.Member;

import java.util.List;

public interface MemberDao {

    Member findByTelephone(String telephone);

    void add(Member member);

    Member findById(Integer id);

    int findMemberCountByMonth(String month);

    int findCountMemberByToday(String today);

    int findCountAll();

    int findThisWeekCount(String thisWeekMonday);


    Integer findMemberCountAfterDate(String firstDay4ThisMonth);

    Integer findMemberCountByDate(String today);

    Integer findMemberTotalCount();

    Integer findIdByUsername(String queryString);

    List<Member> findAll();
}
